//
//  UIBarButtonItem+Extension.h
//  GongDan
//
//  Created by 了凡 on 16/1/14.
//  Copyright © 2016年 河北广联. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIBarButtonItem (Extension)

/**barItem设置文字*/
+ (instancetype)BarButtonItemWithTitle:(NSString *)title target:(id)target action:(SEL)action;

/**barItem设置图片*/
+ (instancetype)BarButtonItemWithImageName:(NSString *)imageName target:(id)target action:(SEL)action;

/**barItem设置图片+数量*/
+ (instancetype)BarButtonItemWithImageName:(NSString *)imageName ShowBadge:(NSInteger)badge target:(id)target action:(SEL)action;

/**barItem设置图片+文字*/
+ (instancetype)BarButtonItemWithImageName:(NSString *)imageName  title:(NSString *)title target:(id)target action:(SEL)action;
@end
